USE [BusSystem]
GO

/****** Object:  Table [dbo].[Bus_Drivers]    Script Date: 05/23/2010 23:58:18 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[Bus_Drivers](
	[RecID] [int] IDENTITY(1,1) NOT NULL,
	[DriverID] [varchar](20) NOT NULL,
	[DriverName] [nvarchar](20) NOT NULL,
	[CompanyID] [varchar](20) NULL,
	[CompanyName] [nvarchar](50) NULL,
	[Sex] [nchar](1) NULL,
	[BirthDay] [smalldatetime] NULL,
	[FamilyAddress] [nvarchar](50) NULL,
	[CellPhone] [varchar](20) NULL,
	[HomePhone] [varchar](20) NULL,
	[IDCardNO] [varchar](20) NULL,
	[DrivingLicenseType] [varchar](20) NULL,
	[DrivingLicenseGetDate] [smalldatetime] NULL,
	[BusIdentificationNO] [nvarchar](50) NULL,
	[WorkCompany] [nvarchar](50) NULL,
	[WorkType] [nvarchar](20) NULL,
	[IDCardNOPic] [nvarchar](100) NULL,
	[DrivingLicense] [nvarchar](100) NULL,
	[DrivingPermit] [nvarchar](100) NULL,
	[OperationCertificate] [nvarchar](100) NULL,
	[SpecialCertificate] [nvarchar](100) NULL,
	[PoliceStationCertificate] [nvarchar](100) NULL,
	[Contract] [nvarchar](100) NULL,
	[ContractDate] [smalldatetime] NULL,
	[ContractCycle] [int] NULL,
	[SecurityAgreementDate] [smalldatetime] NULL,
	[SecurityAgreementCycle] [int] NULL,
	[HealthDeclareForm] [nvarchar](100) NULL,
	[HealthDeclareDate] [nvarchar](100) NULL,
	[Guarantor] [nvarchar](50) NULL,
	[RecDivID] [varchar](20) NULL,
	[RecAcct] [varchar](20) NULL,
	[RecDate] [smalldatetime] NULL,
	[Void] [bit] NULL,
	[VoidAcct] [varchar](20) NULL,
	[VoidDate] [smalldatetime] NULL,
	[UserAcct] [varchar](20) NULL,
	[LastUpdateDate] [smalldatetime] NULL,
 CONSTRAINT [PK_Bus_Drivers] PRIMARY KEY CLUSTERED 
(
	[DriverID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO


